package com.game.framework.config;


import com.easemob.im.ApiClient;
import com.easemob.im.ApiException;
import org.springframework.context.annotation.Configuration;

@Configuration
public class HxConfig {

    static {
        try {
            com.easemob.im.Configuration.setDefaultApiClient(ApiClient.builder()
                            .setBasePath("https://a1.easemob.com")
                    .setAppKey("1146231201162662#junzishu")
                    .setClientId("YXA6CQCDqC4sQtKX2VUUa-e9sA")
                    .setClientSecret("YXA6sP_IBXl5zeuioZyQH2xB4hTeOI4")
                    .build());
        } catch (ApiException e) {
            // exception handling
        }
    }

}
